<template>
  <div class="tradelist-page">
    <PageHeader :lang="lang"></PageHeader>
    <TradingRecord :lang="lang" :userInfo="mixUserInfo" :winMinHeight="winMinHeight" :listType="listType" :show="show" :pageSize="pageSize"></TradingRecord>
    <PageFooter2 :lang="lang" :langKey="langKey"></PageFooter2>
  </div>
</template>

<script>
import commonMixins from '@/mixins/common.js'
import TradingRecord from './components/TradingRecord.vue'

export default {
  mixins: [commonMixins],
  data () {
    return {
      listType: this.$route.params.type || 0,
      winMinHeight: 600,
      show: true,         // 控制分页的展示
      pageSize: 12         // 頁面展示信息条数
    }
  },
  methods: {
  },
  mounted () {
  },
  components: {
    TradingRecord
  }
}
</script>

<style lang="less" scoped>
  @media (max-width: 1199px) {
    .tradelist-page {
      .tradingRecordWrap {
        width: 98%;
      }
    }
  }
</style>
